<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    /*
      关键词
       ● and
       ● not
       ● only
      媒体类型
       ● all      所有设备
       ● print    打印设备
       ● screen   屏幕
       ● speech   阅读器
      媒体特征
       ● width
       ● min-width
       ● max-width
       ● height
       ● min-height
       ● max-height
       ● orientation: portrait landscape
     */

    @media screen and (min-width: 360px) and (max-width: 375px) {

      /* 在视口宽度为 360px ~ 375px 时生效 */
      body {
        background-color: rgba(17, 119, 255, 0.5);
      }
    }
  </style>
</head>

<body>
  <div></div>
</body>

</html>